Fluent Assertions Documentation
FluentAssertions.Collections Namespace / GenericCollectionAssertions<TCollection,T,TAssertions> Class / BeInAscendingOrder Method
In This Topic
    BeInAscendingOrder Method
    In This Topic
    Asserts that a collection is ordered in ascending order according to the value of the specified propertyExpression.
    Overload List
    OverloadDescription
    Asserts that a collection is ordered in ascending order according to the value of the specified propertyExpression.  
    Asserts that a collection is ordered in ascending order according to the value of the specified IComparer implementation.  
    Asserts that a collection is ordered in ascending order according to the value of the specified propertyExpression and IComparer implementation.  
    Expects the current collection to have all elements in ascending order. Elements are compared using their System.IComparable.CompareTo(System.Object) implementation.  
    Expects the current collection to have all elements in ascending order. Elements are compared using the given lambda expression.  
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also